import { axios } from '@/utils/request'

export function querySchool (parameter) {
  return axios({
    url: '/school/query',
    method: 'post',
    data: parameter
  })
}

export function addSchool (parameter) {
  return axios({
    url: '/school/add',
    method: 'post',
    data: parameter
  })
}

export function editSchool (parameter) {
  return axios({
    url: '/school/update',
    method: 'post',
    data: parameter
  })
}

export function removeSchool (parameter) {
  return axios({
    url: '/school/remove',
    method: 'post',
    data: parameter
  })
}

export function listSchool (parameter) {
  return axios({
    url: '/school/listSchool',
    method: 'post',
    data: parameter
  })
}
